<%--
  Created by IntelliJ IDEA.
  User: lzy
  Date: 2018/8/9
  Time: 15:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--导入标签库（描述文件）--%>
<%@ taglib uri="http://www.atguigu.com/mytag/core" prefix="atguigu"%>
<html>
<head>
    <title>Tag</title>
</head>
<body>
<atguigu:hello value="${param.name}" count="10"/>
<h4>使用标签库展示信息</h4>
<table cellspacing="0" cellpadding="10" border="1">
    <tr>
        <th>id</th>
        <th>name</th>
        <th>age</th>
    </tr>

    <c:forEach items="${requestScope.customers}" var="customer">
        <tr>
            <td>${customer.id}</td>
            <td>${customer.name}</td>
            <td>${customer.age}</td>
        </tr>
    </c:forEach>

</table>
</body>
</html>
